﻿function toggleDiv(id, flagit) {
    if (flagit == "1") {
        if (document.layers) document.layers['' + id + ''].visibility = "show";
        else if (document.all) document.all['' + id + ''].style.visibility = "visible";
        else if (document.getElementById) document.getElementById('' + id + '').style.visibility = "visible";
    }
    else
        if (flagit == "0") {
            if (document.layers) document.layers['' + id + ''].visibility = "hide";
            else if (document.all) document.all['' + id + ''].style.visibility = "hidden";
            else if (document.getElementById) document.getElementById('' + id + '').style.visibility = "hidden";
        }
}